package com.tem.product.service.impl;

import com.tem.product.entity.CategoryProduct;
import com.api.manage.pojo.product.CategoryProductBean;
import com.tem.product.mapper.CategoryProductMapper;
import com.tem.product.service.ICategoryProductService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 目录产品 服务实现类
 * </p>
 *
 * @author 陈辉
 * @since 2023-11-08
 */
@Service
public class CategoryProductServiceImpl extends ServiceImpl<CategoryProductMapper, CategoryProduct> implements ICategoryProductService {
    @Autowired
    private CategoryProductMapper categoryProductMapper;
    public List<CategoryProductBean> selectWithProduct(CategoryProductBean request){
        return categoryProductMapper.selectWithProduct(request);
    }
}
